<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
</head>
<body>
	<nav class="navbar navbar-inverse navbar-fixed-top" th:fragment="header">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed"
					data-toggle="collapse" data-target="#bs-navbar"
					aria-expanded="false">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="/"> SCPAN </a>
			</div>
			<div id="bs-navbar" class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
					<li><a href="file.do">我的文件</a></li>
					<li><a href="upload.do">上传文件</a></li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li><a href="#" id="user_name"><span
							th:text="${session.user.Username}"></span></a></li>
					<li><a href="logoff.do">退出</a></li>
				</ul>
			</div>
		</div>
	</nav>
</body>
</html>